package com.weiyuwqj.server.mapper;

import com.weiyuwqj.api.model.BusUserIntegral;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import tk.mybatis.mapper.common.Mapper;

import java.math.BigDecimal;
@Repository
public interface BusUserIntegralMapper extends Mapper<BusUserIntegral> {

    Integer modifyAmount(@Param("total")BigDecimal total,@Param("usable")BigDecimal usable,@Param("userId")Integer userId);
}